package com.kevin.utility;

//业务job 
import java.util.concurrent.Callable;

//实现Callable接口 
public class MyJob implements Callable<Boolean> {

	public Boolean call() {
		if(1==1){
			return true;
		}
		while(true){
			try {
				Thread.sleep(10);
			} catch (InterruptedException e) {
				System.out.println(e.getMessage());
				return true;
			}
		}
	}
}